import { request, METHOD } from "@/utils/request";
import {
  APPLICATIONINFOADD,
  APPLICATIONINFOUPDATE,
  APPLICATIONINFODETAIL,
  APPLICATIONINFODELETE,
  APPLICATIONINFODELETELIST,
  APPLICATIONINFOLIST,
  APPLICATIONINFOALLLIST,
} from "./api";


export function add(params) {
  return request(APPLICATIONINFOADD, METHOD.POST, params);
}
export function update(params) {
  return request(APPLICATIONINFOUPDATE, METHOD.POST, params);
}
export function deleted(params) {
  return request(APPLICATIONINFODELETE, METHOD.POST, params);
}
export function deleteList(params) {
  return request(APPLICATIONINFODELETELIST, METHOD.POST, params);
}
export function detail(params) {
  return request(APPLICATIONINFODETAIL, METHOD.POST, params);
}
export function list(params) {
  return request(APPLICATIONINFOLIST, METHOD.GET, params);
}
export function allList(params) {
  return request(APPLICATIONINFOALLLIST, METHOD.GET, params);
}